<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // 请将关羽，张飞，马超，赵云，黄忠，刘备，姜维。数组里面的元素依次打印到控制台
        var arr = ['关羽', '张飞', '马超', '赵云', '黄忠', '刘备', '姜维'];
        for (var i = 0; i < 7; i++) {
            console.log(arr[i]);
        }
    </script>
</head>

<body>

</body>

</html>